package com.dog.basics.bean.dto.api.wishwash;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description: 管理员登录
 * @author: He
 * @date: Created in 2021/8/6 9:43
 * @version: 1.0
 * @modified By:
 */
@Data
public class ApiUserLoginDto {
    /**
     * 账号
     */
    @NotBlank(message = "Equipment code cannot be empty")
    @ApiModelProperty(value = "账号", dataType = "String", required = true)
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "Equipment code cannot be empty")
    @ApiModelProperty(value = "密码", dataType = "String", required = true)
    private String passowrd;

    /**
     * 设备标识
     */
    @NotNull(message = "Device ID cannot be empty")
    @ApiModelProperty(value = "设备标识 (0)", dataType = "Long", required = true)
    private Long devId;

}
